package com.lkm.market2_0.entity;

import com.google.gson.annotations.SerializedName;

import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;




public class OrganizationInfo {










    @SerializedName("id")
    private int  id;
    @SerializedName("n")
    private String name;

    @SerializedName("t")
    private String AccessName;

    @SerializedName("h")
    private String contactMan;

    @SerializedName("m")
    private String contactPhone;

    @SerializedName("a")
    private String address;

    @SerializedName("l")
    private String logo;

    @SerializedName("i")
    private String i;


    @SerializedName("node")
    private String nodeCode;


    
    @SerializedName("orderno")
    public String serverLastOrderNum;


    

     transient AtomicLong OrderCount=new AtomicLong(0);
    public void setLastOrderCount(long orderCount){
        OrderCount.set(orderCount);
    }
    public long nextOrderCount(){
        return OrderCount.incrementAndGet();
    }

    public String getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(String nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccessName() {
        return AccessName;
    }

    public void setAccessName(String accessName) {
        AccessName = accessName;
    }

    public String getContactMan() {
        return contactMan;
    }

    public void setContactMan(String contactMan) {
        this.contactMan = contactMan;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getI() {
        return i;
    }

    public void setI(String i) {
        this.i = i;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
